package com.emep.changzhi.analyse.entity.equipment;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.List;

/**
 * @author yangj
 * @version V1.0
 * @Description: 监测类型信息表
 * @date 2018/2/26  15:25
 */
@Data
@Table(name = "sys_moitor_type_info")
@Entity
public class MoitorTypeInfo implements Serializable{

    private static final long serialVersionUID = 2018289472770876892L;

    @Id
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @GeneratedValue(generator = "system-uuid")
    private String  id;

    @Column(name = "monitor_type_name",columnDefinition="varchar(100) COMMENT '监测类型名字'" )
    private String  monitorTypeName;

    @Column(name = "area_code",columnDefinition="varchar(100) COMMENT '行政区划'" )
    private String  areaCode;

    @Column(name = "create_date",columnDefinition="varchar(100) COMMENT '创建时间'" )
    private String  createDate = String.valueOf(System.currentTimeMillis());

    @Column(name = "is_delete",columnDefinition="varchar(100) COMMENT '删除状态'" )
    private String isDelete = "0";
}
